class Human():
    def __init__(self, name):
        self.__name = name    # 私有成员变量会被改名_Human__name

    def get_name(self):
        return self.__name


zs = Human('张三')
print(dir(zs))
zs.__name = '小张三'  # 相当于新增变量
print(zs.__name)
print(zs.get_name())
